package com.kele.pojo;

import java.math.BigDecimal;

/**
 * @Description: account实体类
 * @Author: Kele
 * @CreateDate: 2021/7/2 9:16
 * @Version:
 */
public class Account {
    private int id;
    private String name;
    private BigDecimal money;

    public Account() {
    }

    public Account(int id, String name, BigDecimal money) {
        this.id = id;
        this.name = name;
        this.money = money;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                '}';
    }
}
